﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Ccteg.Common
{
    /// <summary>
    /// 事故隐患排查
    /// </summary>
    public class Htc_Trouble
    {
		/// <summary>
		///可能影响的范围及危险程度分析--
		/// </summary>
		public string Analysis { get; set; }

		/// <summary>
		///隐患发生地点--
		/// </summary>
		public string Area { get; set; }

		/// <summary>
		///具体地点--
		/// </summary>
		public string AreaDetail { get; set; }

		/// <summary>
		///隐患发生地点编码 (???)
		/// </summary>
		public string AreaNO { get; set; }

		/// <summary>
		///隐患分类--
		/// </summary>
		public string Category { get; set; }

		/// <summary>
		///检查编码--
		/// </summary>
		public string CheckListNo { get; set; }

		/// <summary>
		///检查人--
		/// </summary>
		public string CheckPerson { get; set; }

		/// <summary>
		///检查时间--
		/// </summary>
		public DateTime? CheckTime { get; set; }

		/// <summary>
		///检查类型？？？
		/// </summary>
		public string CheckType { get; set; }

		/// <summary>
		///二级单位全称
		/// </summary>
		public string CompanyFullName { get; set; }

		/// <summary>
		///二级单位名称--
		/// </summary>
		public string CompanyName { get; set; }

		/// <summary>
		///二级单位编码--
		/// </summary>
		public string CompanyNo { get; set; }

		/// <summary>
		///整改结束日期--
		/// </summary>
		public DateTime? CorrectiEnd { get; set; }

		/// <summary>
		///整改措施--(二级单位主动传上来)
		/// </summary>
		public string CorrectiveAction { get; set; }

		/// <summary>
		///整改起始日期--
		/// </summary>
		public DateTime? CorrectStart { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedOn { get; set; }

		/// <summary>
		///数据来源（如果为集团检查发现隐患此字段为“集团检查”，如果为二级单位自主上传，此字段为：自主上传，默认为空）
		/// </summary>
		public string DataSource { get; set; }

		/// <summary>
		///是否删除（本系统逻辑删除)
		/// </summary>
		public bool? Deleted { get; set; }

		/// <summary>
		///隐患描述--
		/// </summary>
		public string Describe { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string Domain { get; set; }

		/// <summary>
		///附件--
		/// </summary>
		public string File { get; set; }

		/// <summary>
		///隐患编码--
		/// </summary>
		public string HtcNo { get; set; }

		/// <summary>
		///唯一编号
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int Id { get; set; }

		/// <summary>
		///隐患等级--
		/// </summary>
		public string Level { get; set; }

		/// <summary>
		///修改人
		/// </summary>
		public string ModifiedBy { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		public DateTime? ModifiedOn { get; set; }

		/// <summary>
		///目前处置状态（二级单位传入）
		/// </summary>
		public string NowState { get; set; }

		/// <summary>
		///产生原因--
		/// </summary>
		public string Reason { get; set; }

		/// <summary>
		///备注--
		/// </summary>
		public string Remark { get; set; }

		/// <summary>
		///排序
		/// </summary>
		public int? Sort { get; set; }

		/// <summary>
		///未下发，已下发  （开始检查咱们下发时）
		/// </summary>
		public string State { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string TenantId { get; set; }

		/// <summary>
		///处理方式--
		/// </summary>
		public string TreatMethod { get; set; }
	}
}
